const Koa = require('koa')
const app = new Koa()

const one = (ctx,next) =>{
    console.log('DAMN');
    next()
    console.log('GOD DAMN');
}

const two = (ctx,next) =>{
    console.log('M3');
    next()
    console.log('JESUS CHIRST');
}

const three = (ctx,next) =>{
    console.log('SHIT');
    next()
    console.log('HOLY SHIT');
}

app.use(one)
   .use(two)
   .use(three)

app.listen(3000,() =>{
    console.log('listening on 3000');
})